Crate rusticata_macros

source ·
Expand description

Rusticata-macros

Helper macros for the rusticata project.

Re-exports

pub use macros::*;

Modules

Helper functions and structures for debugging purpose
Helper macros

Macros

Helper macro for nom parsers: run first parser if condition is true, else second parser
Helper macro for nom parsers: raise error if input is not empty
Helper macro for nom parsers: raise error if the condition is false
Helper macro for newtypes: declare associated constants and implement Display trait
Read a slice as a big-endian value.
Parse a slice and return a fixed-sized array of bytes